using Microsoft.ApplicationServer.Caching;

namespace Framework.DataCache
{
    public class DistributedDataCacheItemVersion
    {
        internal DataCacheItemVersion DataCacheItemVersion;

        internal DistributedDataCacheItemVersion(DataCacheItemVersion dataCacheItemVersion)
        {
            DataCacheItemVersion = dataCacheItemVersion;
        }

        public virtual int CompareTo(DistributedDataCacheItemVersion other)
        {
            return DataCacheItemVersion.CompareTo(other.DataCacheItemVersion);
        }
    }
}